extrema of function of several variables